<!DOCTYPE html>
<html lang="zh-cn">

    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <meta name="_token" content="{{ csrf_token() }}" />
        <title>@yield('title', app_name())</title>
        <meta name="keywords" content="@yield('meta_keywords', '欣欣')">
        <meta name="description" content="@yield('meta_description', '欣欣向荣')">
        <meta name="csrf-token" content="{{ csrf_token() }}" />

        {{--自定义meta--}}
        @yield('meta')

        <link rel="stylesheet" href="//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css">
        <script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script>
        <script src="//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

        {{--自定义css文件--}}
        @yield('before-styles-end')
            <link rel="stylesheet" href="{{ asset("css/home.css") }} ">
        @yield('after-styles-end')

    </head>

    <body>
        @include('home.includes.nav')

        @yield('precontent')

        <div class="container">
            @include('includes.partials.messages')
            @yield('content')
        </div>

        @include('home.includes.footer')

        {{--自定义js文件--}}
        @yield('before-scripts-end')

        @yield('after-scripts-end')
    </body>
</html>